package com.sinog.biz.mapper.havexml;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinog.core.domain.PrisonerZnExcelTemp;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * @desc 子女批量导入mapper
 * @author lzq
 * @date 2020-02-11-21:21
 */
public interface PrisonerZnExcelTempMapper extends BaseMapper<PrisonerZnExcelTemp> {

    /**
     * 预安置人员信息录入 - 获取未成年子女列表信息
     * @param page page
     * @param queryKey queryKey
     * @return List<Map < String,String>>
     */
    List<Map<String,String>> getNoAdultList(@Param("page") Page page,@Param("queryKey") String queryKey);

    /**
     * 根据犯罪编号检查该犯罪编号对应的子女表是否checkflag=0
     * @param priNum priNum
     * @return int
     */
    int selectZnByCheckFlag(@Param("priNum") String priNum);
}